html{
   width: 100%;
   overflow: scroll;
}
body{
    display: block;

}
body > div,aside > div,main > div{
    box-shadow: 0 1px 3px rgba(26,26,26,.1);
}
.top{
    position: fixed;
    display: flex;
    flex-direction: row;
    align-items: center;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 60px;
    box-shadow: 0 1px 3px rgba(26,26,26,.1);
}
.top-content{
    display: flex;
    align-items: center;
    margin:0 auto;
    max-width: 1500px;
    min-width: 1000px;
    height: 100%;
}
.top-content > a{
    margin-right: 2%;
}
.top-content > input{
    height: 50%;
    font-size: 16px;
    width: 300px;
}
#search{
    position: relative;
    left: -20px;
}
#question{
    padding:10px 15px;
    margin-left:-1%;
    border-radius:10%;
}
.top-aside{
    margin-left: 190px;
}
.top-aside > a{
    margin-right: 20px;
}
.maincontent{
    height: 100vh;
    margin: 80px auto;
    padding-right:10px; 
    max-width: 1000px;
    min-width: 900px;
    box-shadow: none;
    display: flex;
    flex-direction: row;
}
aside{
    position: fixed;
    flex: 1;
    margin-left: 10px;
    right: 15rem;
    width: 300px;
    height: 90%;
}
aside > .buttons{
    width: 300px;
    height: 200px;
    display: flex;
    flex-wrap: wrap;
}
.buttons > li{
    margin-top: 6%;
    width: 33%;
    display: flex;
}
.buttons > li > a{
    width: 100%;
    height: 100%;
    text-align: center;
    align-items: center;
    justify-content: baseline;
}
.btnicons{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10%;
}
aside > .mycenter{
    margin-top: 10px;
    width: 300px;
    height: 300px;
}
.mycenter > li{
    height: 12.5%;
    width: 100%;
    display: flex;
}
.mycenter > li > a{
    width: 80%;
    margin-left: 5%;
    display: flex;
    align-items: center;
    justify-content: baseline;
}
.centertext{
    margin-left: 5%;
}
aside > .footer{
    box-shadow: none;
    margin-top: 10px;
    height: 200px;

}
main{
    flex: 2;
    width: 650px;
    height: 100%;
    display: flex;
    flex-direction: column;
}
main > div{
    margin-top: 2%;
}
/* main > .myaffair{
    margin-top: 0;
    width: 650px;
    height: 60px;
    display: flex;
 }
.affairbtn{
    margin-left: 5%;
    display: flex;
    width: 100%;
    align-items: center;
}
.affairbtn > a{
    margin-right:5%;
    align-items: baseline;
}
.draft{
    margin-left: 200px;
} */
main .myaffair {
    width: 620px;
    height: 60px;
    margin-top: 0;
    padding: 1em;
}
.myaffair .affairbtn {
    float: left;
    width: 80%;
}
.myaffair .affairbtn a{
    margin-right: 5%;
}
.myaffair .draft {
    float: right
}

/* main > .content{
    width: 620px;
    min-height: 200px;
    padding: 15px;
    display: flex;
    flex-direction: column;
}
.content > div{
    min-height: 25px;
}
.article > a{
    align-items: center;
}

.view{
    margin-top: 10px;
}
.view >.likes{
    padding: 5px 10px;
    box-shadow: none;
}
.view > .function{
    border: none;
    background-color: white;
}
.view > button{
    margin-left: 20px;
} */

main .content {
    width: 620px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(26,26,26,.1);
}
main .content .view > .function{
    border: none;
}
